package com.shengcheng.fallback;

import com.shengcheng.AlbumFeignClient;
import com.shengcheng.entity.AlbumAttributeValue;
import com.shengcheng.entity.AlbumInfo;
import com.shengcheng.result.RetVal;

import java.util.List;

public class AlbumInfoFallBack implements AlbumFeignClient {
    @Override
    public RetVal getAlbumInfoById(Long albumId) {
        //编写一些逻辑
        return RetVal.fail().message("失败，系统正忙 ");
    }

    @Override
    public List<AlbumAttributeValue> getAlbumPropertyValue(Long albumId) {
        return List.of();
    }
}
